Skip to content

Conversation

@agjohnson
Copy link
Collaborator

@agjohnson agjohnson commented Aug 12, 2021

This bug was introduced in #1185, it looks like the HTML4 selector
changed to not include directly descendents of .section elements.

I believe the issue was the missing > introduced here:
https://github.com/readthedocs/sphinx_rtd_theme/pull/1185/files#diff-2ad748ac9ebc515229907afab210e3bb370986d3db3a377f052ee5048dcc5b6cR36

But I'm also not familiar with the element that these rules are trying to target.

Fixes #1198

This bug was introduced in #1185, it looks like the HTML4 selector
changed to not include directly descendents of `.section` elements.
@agjohnson
Copy link
Collaborator Author

@Blendify it's not really clear what the fix in #1185 was addressing, so I'm not exactly sure what to test to verify this change. What was this selector supposed to target? Fix was easy, it seems just the direct descendant selector was missing.

@agjohnson agjohnson added this to the 1.0 milestone Aug 12, 2021
Copy link
Member

@Blendify Blendify left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am unsure exactly also, we really need to better organize and comment what styling goes to what markup

@agjohnson agjohnson added the Bug A bug label Aug 12, 2021
@agjohnson
Copy link
Collaborator Author

Heh yeah, seems we might have some investigation to do

@agjohnson agjohnson merged commit f0edcba into master Aug 12, 2021
@agjohnson agjohnson deleted the agj/fix-image-spacing-html4 branch August 12, 2021 21:18
mathewgomas pushed a commit to mathewgomas-alfred/mathewgomas.io that referenced this pull request Dec 8, 2024
kdesysadmin pushed a commit to KDE/documentation-docs-krita-org that referenced this pull request May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug A bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with image spacing still

3 participants